#!/bin/sh
#使用qos限制mnet2网卡的速率

ovn-nbctl set logical_switch_port mnet2 options:qos_max_rate=1000000
ovn-nbctl set logical_switch_port mnet2 options:qos_burst=1000000

### 限制到vm2的网速到1000kbps

ovn-nbctl qos-add lswitch1 to-lport 100 'outport == "ls1-vm2"' rate=1000
